package com.sjh.vo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

//礼包记录表
public class Bis_bag_record {
		private String record_id;	//记录编号  varchar(50)
		private String bag_id;	//礼包编号  varchar(50)
		public Bis_nurse_bag bis_nurse_bag;
		private Integer valid_day;	//礼包有效期   int(10)
		private String custom_user_id; //消费用户编号 	varchar(50)
		private Integer buy_num; //购买数量	int(10)
		private String recevie_user_id; //领取人	varchar(50
		private Integer share_num;  //分享数量  int(10)
		private String create_time;	//礼包开始生效时间   datetime
		private String order_id; //订单编号	varchar(50)
		private String share_time;//分享时间	datetime
		private String share_user_id;//分享人编号	varchar(50)
		@DateTimeFormat(pattern="yyyy-MM-dd")
		private Date bag_time;//分享时间	datetime
		private String record_type;//记录类型	varchar(10)
		private String status; //状态 	varchar(10)
		private String receive_status;//领取状态	varchar(10)
		private String username;//分享者姓名
		private String bag_name;//礼包名称
		private String uname;//被分享者名称
		private String mobile;//分享者账号
		private String mob;//被分享这账号
		public String getMobile() {
			return mobile;
		}
		
		public Bis_nurse_bag getBis_nurse_bag() {
			return bis_nurse_bag;
		}

		public void setBis_nurse_bag(Bis_nurse_bag bis_nurse_bag) {
			this.bis_nurse_bag = bis_nurse_bag;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}
		public String getMob() {
			return mob;
		}
		public void setMob(String mob) {
			this.mob = mob;
		}
		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}
		public String getBag_name() {
			return bag_name;
		}
		public void setBag_name(String bag_name) {
			this.bag_name = bag_name;
		}
		public String getUname() {
			return uname;
		}
		public void setUname(String uname) {
			this.uname = uname;
		}
		public String getRecord_id() {
			return record_id;
		}
		public void setRecord_id(String record_id) {
			this.record_id = record_id;
		}
		public String getBag_id() {
			return bag_id;
		}
		public void setBag_id(String bag_id) {
			this.bag_id = bag_id;
		}
		public Integer getValid_day() {
			return valid_day;
		}
		public void setValid_day(Integer valid_day) {
			this.valid_day = valid_day;
		}
		public String getCustom_user_id() {
			return custom_user_id;
		}
		public void setCustom_user_id(String custom_user_id) {
			this.custom_user_id = custom_user_id;
		}
		public Integer getBuy_num() {
			return buy_num;
		}
		public void setBuy_num(Integer buy_num) {
			this.buy_num = buy_num;
		}
		public String getRecevie_user_id() {
			return recevie_user_id;
		}
		public void setRecevie_user_id(String recevie_user_id) {
			this.recevie_user_id = recevie_user_id;
		}
		public Integer getShare_num() {
			return share_num;
		}
		public void setShare_num(Integer share_num) {
			this.share_num = share_num;
		}
		public String getCreate_time() {
			return create_time;
		}
		public void setCreate_time(String create_time) {
			this.create_time = create_time;
		}
		public String getOrder_id() {
			return order_id;
		}
		public void setOrder_id(String order_id) {
			this.order_id = order_id;
		}
		public String getShare_time() {
			return share_time;
		}
		public void setShare_time(String share_time) {
			this.share_time = share_time;
		}
		public String getShare_user_id() {
			return share_user_id;
		}
		public void setShare_user_id(String share_user_id) {
			this.share_user_id = share_user_id;
		}
		
		public Date getBag_time() {
			return bag_time;
		}
		public void setBag_time(Date bag_time) {
			this.bag_time = bag_time;
		}
		public String getRecord_type() {
			return record_type;
		}
		public void setRecord_type(String record_type) {
			this.record_type = record_type;
		}
		public String getStatus() {
			return status;
		}
		public void setStatus(String status) {
			this.status = status;
		}
		public String getReceive_status() {
			return receive_status;
		}
		public void setReceive_status(String receive_status) {
			this.receive_status = receive_status;
		}
		public Bis_bag_record() {
			super();
			// TODO Auto-generated constructor stub
		}
		public Bis_bag_record(String record_id, String bag_id, Integer valid_day, String custom_user_id,
				Integer buy_num, String recevie_user_id, Integer share_num, String create_time, String order_id,
				String share_time, String share_user_id, Date bag_time, String record_type, String status,
				String receive_status) {
			super();
			this.record_id = record_id;
			this.bag_id = bag_id;
			this.valid_day = valid_day;
			this.custom_user_id = custom_user_id;
			this.buy_num = buy_num;
			this.recevie_user_id = recevie_user_id;
			this.share_num = share_num;
			this.create_time = create_time;
			this.order_id = order_id;
			this.share_time = share_time;
			this.share_user_id = share_user_id;
			this.bag_time = bag_time;
			this.record_type = record_type;
			this.status = status;
			this.receive_status = receive_status;
		}
		@Override
		public String toString() {
			return "Bis_bag_record [record_id=" + record_id + ", bag_id=" + bag_id + ", valid_day=" + valid_day
					+ ", custom_user_id=" + custom_user_id + ", buy_num=" + buy_num + ", recevie_user_id="
					+ recevie_user_id + ", share_num=" + share_num + ", create_time=" + create_time + ", order_id="
					+ order_id + ", share_time=" + share_time + ", share_user_id=" + share_user_id + ", bag_time="
					+ bag_time + ", record_type=" + record_type + ", status=" + status + ", receive_status="
					+ receive_status + "]";
		}
		
		
}
